<span style="font-size: 95%;padding: .2em 0 .3em;">
    @php
        //目前总库存发货系数 (FBA库存+OS库存)
        $shipWithOSCurrentFactor = \App\Models\Stocking\StockingSku::getShipWithOSCurrentFactor($model);

        //FBA库存发货系数 (FBA库存)
        $shipCurrentFactor = \App\Models\Stocking\StockingSku::getShipCurrentFactor($model);
    @endphp
    <!-- 安全系数 -->
    {{ $value }} &nbsp;&nbsp;

    @if(is_numeric($shipWithOSCurrentFactor))
        <!-- 目前总库存发货系数 -->
        <!-- 验证：目前总库存发货系数小于安全系数，则标记为红色 -->
        <span style="color: {{ $shipWithOSCurrentFactor < $value ? 'red' : '#000'}}" >{{ $shipWithOSCurrentFactor }}</span>
    @else
        {{ $shipWithOSCurrentFactor }}
    @endif
    @if(is_numeric($shipCurrentFactor))
        <!-- FBA库存发货系数 -->
        <!-- 验证：FBA库存发货系数小于安全系数，则标记为红色 -->
        (<span style="color: {{ $shipCurrentFactor < $value ? 'red' : '#000'}}" >{{ $shipCurrentFactor }}</span>)
    @else
        ({{ $shipCurrentFactor }})
    @endif
</span>
